package com.sun.hunk.hibernate.domain;

import com.sun.hunk.hibernate.Domain;
import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 *
 * @author sunil
 */
public interface Item extends Domain {

    public User getUser();

    public void setUser(User user);

    public String getDescription();

    public void setDescription(String description);

    public String getCode();

    public void setCode(String code);

    public Date getCreatedOn();

    public void setCreatedOn(Date createdOn);

    public Category getCategarory();

    public void setCategarory(Category categarory);

    public List<Comment> getComments();

    public void addComment(Comment comment);

    public void setComments(List<Comment> comments);

    public Integer getQuantity();

    public void setQuantity(Integer quantity);

    public Set<Purchase> getPurchaseSet();

    public void setPurchaseSet(Set<Purchase> purchaseSet);

    public Set<Purchase> getSalesSet();

    public void setSalesSet(Set<Purchase> salesSet);
}
